<div class="layui-form-item">
    <label class="layui-form-label">{$form.title} </label>
    <div class="layui-input-block" style="width: 50%">
        <input type="text" name="{$form.field}" value="<?php echo isset($info)?$info[$form['field']]:'';?>"
               placeholder="请输入{$form.title}" {if isset($form.required) && $form.required  == '' } {else} lay-verify="required" {/if} [type] class="layui-input" />
    </div>
</div>